{if $options!=''}
{foreach name=outer item=options_data from=$options}
<div data-role="fieldcontain">
    <fieldset data-role="controlgroup">
    	<legend>{$options_data.NAME}:</legend>
		{php} $n = 0; {/php}
        {foreach key=key_data name=key_data item=item_data from=$options_data.DATA}
			<input type="radio" name="id[{$options_data.ID}]" id="ratio-{$item_data.ID}" value="{$item_data.ID}" {php} if ($n == 0) echo 'checked="checked"';{/php} n="{php} echo $n; {/php}" onclick="showPrice(this.form);" />
		{php} $n++; {/php}
         	<label for="ratio-{$item_data.ID}">{$item_data.TEXT} {if $item_data.PRICE!=''}( {$item_data.PREFIX}{$item_data.PRICE} ){/if}</label>
		{/foreach}
    </fieldset>
</div>
{/foreach}
{/if}
